﻿// See https://aka.ms/new-console-template for more information
using ConsoleApp1;
using ERP;
using ERP.Abp.SettingManagement;
using ERP.Abp.TenantManagement;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp;

Console.WriteLine("Hello, World!");

var app= AbpApplicationFactory.Create<MyModule>();

app.Initialize();

Task.Run(() => {
    Task.Delay(1000);
      var testService = app.ServiceProvider.GetRequiredService<ITenantAppService>();

    testService.GetListAsync(new GetTenantsInput { });
});



var a = 1;


